<?php
require_once 'utils.php';
session_start ();
if (isset ( $_SESSION ['level'] )) {
	$level = $_SESSION ['level'];
	switch ($level) {
		case 2 :
			printLevel2 ();
			break;
		case 3 :
			printLevel3 ();
			break;
		case 4 :
			printVideo ();
			break;
	}
} else {
	//level 1
	printLevel1 ();
}